﻿using System;
using TheBigB.JsonSerializerLite;

namespace Tester
{
	public class TestExtension : IJsonSerializerExtension
	{
		private Type targetType = typeof(TestChildObject);

		public Type GetTargetType()
		{
			return this.targetType;
		}

		public string Serialize(object input, JsonSerializer serializerInstance)
		{
			return "{\"extension\":\"success\"}";
		}

		public object Deserialize(string input, Type targetType, JsonSerializer serializerInstance)
		{
			return null;
		}
	}
}
